#include <iostream>

void func(const char c){
    int a = 10;
    int b = 10;
    switch(c){
        case '-':
            std::cout<<a -b<<std::endl;
            break;
        case '+':
            std::cout<<a + b<<std::endl;
            break;
        case 'x':
            std::cout<<a*b<<std::endl;
            break;
        case '/':
            std::cout<<a/b<<std::endl;
            break;
        default:
            std::cout<<"不是加减乘除"<<std::endl;
            break;
    }
}

int main(){

    std::cout<<"进入加减乘除中"<<std::endl;
    char c;
    std::cin>>c;
    func(c);

    return 0;
}

